/* 推荐系统管理页面样式 */

.container {
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f5f5f5;
}

.header {
  text-align: center;
  margin-bottom: 32px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.title {
  color: #1976d2 !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  background: linear-gradient(45deg, #1976d2, #42a5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: #666 !important;
  font-size: 16px !important;
  margin-bottom: 0 !important;
}

.overviewCard {
  height: 100%;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.overviewCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* 状态指示器样式 */
.statusIndicator {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 4px 0;
  transition: background-color 0.2s ease;
}

.statusIndicator:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.statusIcon {
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.statusText {
  flex: 1;
  font-weight: 500;
}

.statusCount {
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  min-width: 24px;
  text-align: center;
}

/* 系统配置卡片样式 */
.configCard {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: transform 0.2s ease;
}

.configCard:hover {
  transform: scale(1.02);
}

.configLabel {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.configValue {
  font-size: 24px;
  font-weight: 700;
}

/* 操作按钮区域 */
.actionButtons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.actionButton {
  min-width: 160px;
  height: 48px;
  border-radius: 24px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease !important;
}

.actionButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.actionButton:disabled {
  transform: none !important;
  box-shadow: none !important;
}

/* 对话框样式 */
.dialog {
  border-radius: 16px !important;
}

.dialogTitle {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white !important;
  text-align: center;
  font-weight: 600 !important;
}

.dialogContent {
  padding: 24px !important;
}

.dialogActions {
  padding: 16px 24px !important;
  gap: 12px;
}

/* 加载状态样式 */
.loadingContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  gap: 16px;
}

.loadingText {
  color: #666;
  font-size: 16px;
}

/* 成功/错误提示样式 */
.alert {
  border-radius: 12px !important;
  margin-bottom: 24px;
  font-weight: 500 !important;
}

/* 统计卡片网格 */
.statsGrid {
  margin-bottom: 32px;
}

.statsCard {
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.2s ease;
}

.statsCard:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

/* 详细信息区域 */
.detailsSection {
  margin-top: 24px;
}

.detailCard {
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.detailCardHeader {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 12px 12px 0 0;
  font-weight: 600;
}

.detailCardContent {
  padding: 24px !important;
}

/* 进度条样式 */
.progressBar {
  border-radius: 8px !important;
  height: 8px !important;
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.progressBar .MuiLinearProgress-bar {
  border-radius: 8px !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    padding: 16px;
  }
  
  .header {
    padding: 16px;
    margin-bottom: 24px;
  }
  
  .title {
    font-size: 24px !important;
  }
  
  .subtitle {
    font-size: 14px !important;
  }
  
  .actionButtons {
    flex-direction: column;
    align-items: center;
  }
  
  .actionButton {
    width: 100%;
    max-width: 280px;
  }
  
  .overviewCard {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 12px;
  }
  
  .header {
    padding: 12px;
  }
  
  .title {
    font-size: 20px !important;
  }
  
  .detailCardContent {
    padding: 16px !important;
  }
} 